//
//  HTNormalCollectionCell.m
//  TruckDriver
//
//  Created by Ting Han on 2017/10/10.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import "HTNormalCollectionCell.h"

@interface HTNormalCollectionCell()

@end

@implementation HTNormalCollectionCell
- (void)setAreaModel:(HTAreaModel *)areaModel{
    _areaModel = areaModel;
    if (areaModel.areaType == HTAreaTypeNo) {
        if ([areaModel.title isEqualToString:@"全国"]) {
             self.titleLabel.text = areaModel.title;
        }else{
            self.titleLabel.text = [NSString stringWithFormat:@"全%@",areaModel.title];
        }
    }else{
       self.titleLabel.text = areaModel.title;
    }
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
